<div class="datepicker-wrap" (click)="isShow=false" *ngIf="isShow"></div>
<div id="datetimepicker">
  <div class="card">
    <pre class="card-block card-header" *ngIf="dt">{{ getDate()||newDate}}</pre>
    <span class="add-on" (click)="isShow=true">
    <i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
    </span>
  </div>
  <div style="min-height:290px;" [ngClass]="{'displayInline': isShow,'displayNone':!isShow}">
    <datepicker [(ngModel)]="dt" [minDate]="minDate" [showWeeks]="true" [dateDisabled]="dateDisabled"></datepicker>
  </div>

</div>
